<?php
declare (strict_types = 1);

namespace app\model;

use think\Model;

/**
 * @property int $goods_id 商品
 * @property int $id
 * @property int $user_id
 * @property string $createtime
 * @property-read \app\model\Goods $goods
 * @mixin \think\Model
 */
class UserCollect extends Model
{
	protected $createTime = 'createtime';
	
	function goods()
	{
		return $this->belongsTo(Goods::class,'goods_id');
	}
}
